@import "../../../../style/var";
@import "../../../../style/mixin";

.news-wrap {
    .news-tab {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        display: flex;

        .item {
            position: relative;
            flex: 1;
            background-color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            border-bottom: 1PX solid #dddddd;

            .text {
                height: 100px;
                line-height: 100px;
                border-bottom: 2PX solid transparent;

                &:after {
                    position: absolute;
                    right: 0;
                    top: 50%;
                    transform: translateY(-50%);
                    content: '|';
                    color: #dddddd;
                }
            }

            &:last-of-type {
                .text:after {
                    display: none;
                }
            }

            &.active {
                .text {
                    border-color: $main-color;
                }
            }

        }
    }

    .news-list {
        padding: 100px 0 30px;

        .item {
            display: flex;
            padding: 30px 20px;
            background-color: #fff;
            margin-bottom: 1px;
        }

        .info {
            flex: 1;
            color: #333;
            padding-left: 20px;
        }

        .name {

        }

        .desc {
            color: #666666;
            font-size: 24px;
            padding: 10px 0;
        }

        .suit {
            color: #999;
            display: flex;
            align-items: center;
            font-size: 20px;
            line-height: 1;

            i {
                font-size: 24px;
                margin-right: 10px;
            }

        }

        .img {
            width: 200px;
            height: 150px;
        }
    }
}

.news-detail-wrap {
    background-color: #fff;
    padding: 0 20px;

    .news-title {
        font-size: 30px;
        color: #333333;
        padding: 30px 0;
        line-height: 1.5;
    }

    .suit-info {
        font-size: 24px;
        color: #666;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;

        .red {
            color: $main-color;
        }
    }

}
